package com.luck.easyfoodbatch.mvp.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * author：luck
 * project：EasyFoodBatch
 * package：com.luck.easyfoodbatch.mvp.model
 * email：893855882@qq.com
 * data：16/11/2
 */
public class MyGoods implements Serializable {


    private int status;
    private String authToken;

    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean implements Serializable {
        private int pageSize;
        private int totalPage;


        private List<ModelsBean> models;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public List<ModelsBean> getModels() {
            return models;
        }

        public void setModels(List<ModelsBean> models) {
            this.models = models;
        }

        public static class ModelsBean implements Serializable {
            private int gid;
            private int shop_id;
            private String goods_name;
            private String no;
            private String thumb;
            private String country_id;
            private String class_id;
            private String sold_least_num;
            private String market_price;
            private String is_free_post;
            private String free_post_num;
            private String use_ydx;
            private String warehouse_id;
            private int num;
            private String specifications;
            @SerializedName("package")
            private String packageX;
            private String weight;
            private String volume;
            private String is_hot;
            private String is_recommend;
            private String total_sold_num;
            private int status;
            private String created_at;
            private String updated_at;
            private String total_stock;
            private String country_name;
            private String price;
            private int is_expiring;
            private boolean isChecked;
            private String single_specifications;
            private String single_price;
            private String single_num;
            private String down_desc;

            public String getDown_desc() {
                return down_desc;
            }

            public void setDown_desc(String down_desc) {
                this.down_desc = down_desc;
            }

            public String getSingle_num() {
                return single_num;
            }

            public void setSingle_num(String single_num) {
                this.single_num = single_num;
            }

            public String getSingle_price() {
                return single_price;
            }

            public void setSingle_price(String single_price) {
                this.single_price = single_price;
            }

            public String getSingle_specifications() {
                return single_specifications;
            }

            public void setSingle_specifications(String single_specifications) {
                this.single_specifications = single_specifications;
            }

            public boolean isChecked() {
                return isChecked;
            }

            public void setChecked(boolean checked) {
                isChecked = checked;
            }

            /**
             * attach_id : 5
             * class_id : 2
             * path : 1/xewWJoA2bgqZTFEJAVoIp_CKLgM0nPF1.jpg
             * base_url : http://app.ttouch.com.cn/yishipi/storage/web/source
             */


            private List<ThumbsBean> thumbs;

            public int getGid() {
                return gid;
            }

            public void setGid(int gid) {
                this.gid = gid;
            }

            public int getShop_id() {
                return shop_id;
            }

            public void setShop_id(int shop_id) {
                this.shop_id = shop_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getNo() {
                return no;
            }

            public void setNo(String no) {
                this.no = no;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getCountry_id() {
                return country_id;
            }

            public void setCountry_id(String country_id) {
                this.country_id = country_id;
            }

            public String getClass_id() {
                return class_id;
            }

            public void setClass_id(String class_id) {
                this.class_id = class_id;
            }

            public String getSold_least_num() {
                return sold_least_num;
            }

            public void setSold_least_num(String sold_least_num) {
                this.sold_least_num = sold_least_num;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getIs_free_post() {
                return is_free_post;
            }

            public void setIs_free_post(String is_free_post) {
                this.is_free_post = is_free_post;
            }

            public String getFree_post_num() {
                return free_post_num;
            }

            public void setFree_post_num(String free_post_num) {
                this.free_post_num = free_post_num;
            }

            public String getUse_ydx() {
                return use_ydx;
            }

            public void setUse_ydx(String use_ydx) {
                this.use_ydx = use_ydx;
            }

            public String getWarehouse_id() {
                return warehouse_id;
            }

            public void setWarehouse_id(String warehouse_id) {
                this.warehouse_id = warehouse_id;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getSpecifications() {
                return specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public String getIs_hot() {
                return is_hot;
            }

            public void setIs_hot(String is_hot) {
                this.is_hot = is_hot;
            }

            public String getIs_recommend() {
                return is_recommend;
            }

            public void setIs_recommend(String is_recommend) {
                this.is_recommend = is_recommend;
            }

            public String getTotal_sold_num() {
                return total_sold_num;
            }

            public void setTotal_sold_num(String total_sold_num) {
                this.total_sold_num = total_sold_num;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getTotal_stock() {
                return total_stock;
            }

            public void setTotal_stock(String total_stock) {
                this.total_stock = total_stock;
            }

            public String getCountry_name() {
                return country_name;
            }

            public void setCountry_name(String country_name) {
                this.country_name = country_name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getIs_expiring() {
                return is_expiring;
            }

            public void setIs_expiring(int is_expiring) {
                this.is_expiring = is_expiring;
            }

            public List<ThumbsBean> getThumbs() {
                return thumbs;
            }

            public void setThumbs(List<ThumbsBean> thumbs) {
                this.thumbs = thumbs;
            }

            public static class ThumbsBean implements Serializable {
                private String attach_id;
                private String class_id;
                private String path;
                private String base_url;

                public String getAttach_id() {
                    return attach_id;
                }

                public void setAttach_id(String attach_id) {
                    this.attach_id = attach_id;
                }

                public String getClass_id() {
                    return class_id;
                }

                public void setClass_id(String class_id) {
                    this.class_id = class_id;
                }

                public String getPath() {
                    return path;
                }

                public void setPath(String path) {
                    this.path = path;
                }

                public String getBase_url() {
                    return base_url;
                }

                public void setBase_url(String base_url) {
                    this.base_url = base_url;
                }
            }
        }
    }
}
